import Vue from "vue";
import Vuex from 'vuex'

import home from './modules/home'
//添加search模块
import search from './modules/search'
import detail from './modules/detail'
Vue.use(Vuex)


//导出
export default new Vuex.Store({
   
    modules:{home,search,detail}
})